package com.itheima.d3_transform_stream;

import java.io.*;

/**
 * 目标：掌握字符输出转换流的使用。
 */
public class Test3OutputStreamWriter {
    public static void main(String[] args) {
        try(OutputStreamWriter osw = new OutputStreamWriter(new FileOutputStream("day10io-app2/file/出师表.txt",true),"utf-8")) {
            osw.write("ssassdsa小阿斯顿");

        }   catch (IOException e) {
            e.printStackTrace();
        }

    }
}
